package com.mutual.help.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mutual.help.entity.WxUsers;

public interface WxUserMapper extends BaseMapper<WxUsers> {
    /**
     * 通过openId查询用户
     * @param openId
     * @return
     */
    WxUsers selectUserByOpenId(String openId);

    /**
     * 通过userId获取用户数据
     * @param userId
     * @return
     */
    WxUsers selectWxUserByUserId(String userId);

    WxUsers selectByNickName(String nickName);
}
